package com.example.javabasic.thread.classtwo.threadlocal.demo6;

/**
 * @description 测试threadLocal
 * @Author Lin FuYuan
 * @date 2020/10/23
 */
public class TestThreadLocal {
    public static void main(String[] args) {

    }


    public void method1(){
        String a = "哈哈哈";
        ThreadLocal<String> local = new ThreadLocal<>();
        local.set(a);

    }
}
